package com.campus.counseling.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@TableName("test_question")
public class TestQuestion {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    @TableField("test_id")
    private Long testId;
    
    private String dimension;
    
    @TableField("question_type")
    private Integer questionType;
    
    @TableField("question_text")
    private String questionText;
    
    @TableField("options")
    private String options;
    

    @TableField("score")
    private BigDecimal score;

    @TableField("sort_num")
    private Integer sortNum;
    
    @TableField("create_time")
    private LocalDateTime createTime;
    
    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField("option_scores")
    private String optionScores;

    @TableField(exist = false)
    private List<String> optionList;

}